home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 564 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.hi.net!anjo!amcleod
  2. Distribution: world
  3. Newsgroups: comp.lang.c
  4. From: amcleod@anjo.hi.net (Angus Mcleod)
  5. X-Mailer: NetXpress 1.53
  6. Date: Sat, 06 Jan 1996 11:55:15 -0640
  7. Organization: The ANJO BBS
  8. Subject: Creating a DLL using Watcom C++ 10a?
  9. Message-ID: <414.1100.52@anjo.hi.net>
  10.  
  11.     RE:   Creating a DLL using Watcom C++ 10a?
  12.     BY:   Rajendra Singh     to   ALL     on   Wed Jan 03 1996 12:38:49  
  13.  
  14.  > How easy/difficult is it to create an OS/2 32-bit DLL using the Watcom IDE?
  15.  > How does one ago about it?
  16.  
  17. I created one yesterday!  Unfortunately, I ran into some problems:
  18.  
  19.         i)   When my REXX program ran:
  20.  
  21.                 ok = RxAddFunc( 'MyFunc', 'MyDLL', 'MyFunc' );
  22.  
  23.              the return value indicated that the function had been
  24.              successfully registered.  However, when I then tried:
  25.  
  26.                 ok = MyFunc();
  27.  
  28.              I got a REXX error 43 - no such function.
  29.  
  30.         ii)  When I tried to re-compile my .DLL source, Watcom's IDE was
  31.              denied access to MyDLL.DLL since it was in use by another
  32.              process.  I couldn't figure out how to get rid of it (the
  33.              old .DLL) without rebooting the machine.  DeRegistering MyFunc
  34.              didn't help, of course.
  35. .- -. .--- ---   .- -. .--- ---   .- -. .--- ---   .- -. .--- ---
  36. Internet: amcleod@anjo.hi.net (Angus Mcleod)
  37. Origin:   The ANJO BBS
  38.